﻿create procedure [dbo].[usp_TeamFoundationServerDelete]
	@TeamFoundationServerId int
as

begin try
	begin transaction
	
	delete from [dbo].[TeamFoundationServer] where [TeamFoundationServerId] = @TeamFoundationServerId
	
	commit transaction
end try

begin catch
	if @@trancount > 0
	begin
		rollback transaction
	end
	execute [dbo].[usp_SqlErrorInsert]
end catch